package com.coderman.infosys.auth.app.convert;

import java.util.List;

import com.coderman.infosys.auth.api.dto.config.DataColumnDTO;
import com.coderman.infosys.auth.domain.bo.config.DataColumnBO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:DataColumnConvert接口
* @Author:
* @CreateTime:2022-01-02 15:27:39
* @version v1.0
*/
@Mapper
public interface DataColumnConvert{
	DataColumnConvert INSTANCE = Mappers.getMapper(DataColumnConvert.class);

	/**
	 *
	 * @Description:
	 * @return DataColumnBO
	 */
	 DataColumnBO dto2bo(DataColumnDTO dataColumnDTO);
	/**
	 *
	 * @Description:
	 * @return List<DataColumnBO>
	 */
	 List<DataColumnBO> dataColumnDTOs2boList(List<DataColumnDTO> dataColumnDTOList);
	/**
	 *
	 * @Description:
	 * @return DataColumnDTO
	 */
	 DataColumnDTO bo2dto(DataColumnBO dataColumnBO);
	/**
	 *
	 * @Description:
	 * @return List<DataColumnDTO>
	 */
	 List<DataColumnDTO> dataColumnBOs2dtoList(List<DataColumnBO> dataColumnBOList);
}